package popcorn.ticket.entity;

import java.io.Serializable;
import java.util.Date;

public class MovieReview implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -7534409013676712318L;

	private Integer reviewid;

	private MovieComment comment;

	private String username;

	private String moviename;

	private String reviewcontent;

	private Date reviewtime;

	private Integer reviewstatus;

	public Integer getReviewid() {
		return reviewid;
	}

	public void setReviewid(Integer reviewid) {
		this.reviewid = reviewid;
	}

//    public Integer getCommentid() {
//        return commentid;
//    }
//
//    public void setCommentid(Integer commentid) {
//        this.commentid = commentid;
//    }

	public String getReviewcontent() {
		return reviewcontent;
	}

	/**
	 * @return the comment
	 */
	public MovieComment getComment() {
		return comment;
	}

	/**
	 * @param comment the comment to set
	 */
	public void setComment(MovieComment comment) {
		this.comment = comment;
	}

	public void setReviewcontent(String reviewcontent) {
		this.reviewcontent = reviewcontent == null ? null : reviewcontent.trim();
	}

	public Date getReviewtime() {
		return reviewtime;
	}

	public void setReviewtime(Date reviewtime) {
		this.reviewtime = reviewtime;
	}

	public Integer getReviewstatus() {
		return reviewstatus;
	}

	public void setReviewstatus(Integer reviewstatus) {
		this.reviewstatus = reviewstatus;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the moviename
	 */
	public String getMoviename() {
		return moviename;
	}

	/**
	 * @param moviename the moviename to set
	 */
	public void setMoviename(String moviename) {
		this.moviename = moviename;
	}

}